﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式之禅.原型模式
{
    public abstract class abstractProduct
    {
        public abstract string Say();
        public abstract abstractProduct Clone();
    }

    public class Product : abstractProduct
    {
        public override string Say()
        {
            return "A";
        }
        public override abstractProduct Clone()
        {
            return (Product)this.MemberwiseClone();
        }
    }


}
